home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
081
/
yamck100.arc
/
YAMCHEK.DOC
< prev
next >
Wrap
Text File
|
1988-05-18
|
12KB
|
306 lines
YAMCHEK.EXE Release 1.10
Yamchek (Yet Another Mail CHEcK utility)
usage: yamchek {-p#} {-t#} {-s} {-m <mail area list>}
-p# port number, where # is from 1 to 16.
Example: -p2 for com port 2
Default: com 1.
-t# maximum time in minutes allowed in Yamchek.
Example: -t30 is for 30 minutes.
Default: 15 minutes maximum.
-s turns on snoop mode showing sysop what caller
sees on local screen.
Example: -s
Default: snoop mode off, screen blank.
-m followed by a list of areas to scan.
Example: -m 1 2 3 restricts scans to mail areas
1, 2, and 3 as defined in system1.bbs,
system2.bbs, and system3.bbs if the caller's
priv level will allow it.
Default: scans all mail areas that caller's
priv level will allow.
Note: no space must appear between the switches '-p'
and '-t' and the number, as in '-p2' for port
2.
example: ^OCyamchek -p2 -t20 -m 1 2 3 4 -s
sets communications on com2:, 20 minute max
time limit, restricts searches to mail areas 1,
2, 3, and 4, and turns on snoop mode. This is
an Opus menu spawn (^OC).
Yamchek (Yet Another Mail Checker) is designed for external
operation from Opus style menus via the embedded ^OC command.
Yamchek is complete unto itself, and requires no other support
files other than those provided for Opus use (but please check
"Requirements" below). When Yamchek is called from Opus, it
first reads in the file created by Opus called LASTUSER.BBS,
which Opus creates during the spawn. Within this file is the
complete user structure including name, priv level, help
level, etc. Yamchek makes full use of the user structure.
Yamchek currently recognizes the structure supported by Opus
1.03b and earlier Opus systems. If Yamchek can not find
lastuser, it will exit.
A short greeting is displayed showing the program's name and
version number, port calling in on, date last compiled, and my
copyright, followed by another line with the caller's full
name and the maximum time allowed in Yamchek. Then the caller
is then asked if they want to scan for new mail. If the answer
YAMCHEK 1.10 1
YAMCHEK.EXE Release 1.10
is 'Y' or [Enter], then processing proceeds. If 'N', Yamchek
exits back to Opus.
Caller's Options
Once the caller is in Yamchek, they will be asked if they want
to List their mail, Read their mail, or Cleanup their mail.
In all three cases each area being scanned is presented to the
caller by area number, area tag, lowest message and highest
message. The caller is then asked if they want to continue
scanning that area. If the caller is not interested in that
area, they MUST type 'N'o to skip that area. A 'Y' or [Enter]
will continue processing in that area. Any new mail addressed
to that caller and found in that area is presented to the
caller.
Selecting List mode presents the mail in a simple two-line
format with no other intervention on the part of the caller.
In the case of List mode the two-line format gives them the
message number, date written, and who it is from on the first
line. The second line shows the subject of the message.
When a caller selects to Read their mail, the mail is
presented as if they were reading it in an Opus mail area. A
full header of information is presented followed by the body
of the message. As each message is read, it is always marked
as having been received. This does not happen in list mode and
requires that the caller go into Opus' mail section and read
each message.
The most complicated selection is Cleanup. Under cleanup,
callers see each new message listed in two-line format, but
they are asked if they want to Mark the message as received
without reading it, Read it, or Skip it. If they elect to mark
the message Yamchek does so and moves on to the next new
message. If they elect to review the message by reading it, it
will still be marked as received. If they elect to skip it, it
stays in the message base as new mail.
In both cases where the callers have to select an option, they
area given help in the form of '?=help' that explains the
choices in a clear manner (I hope).
Command Line Parameters
The four possible switches on the command line, '-p', '-t', '-
s', and '-m <area list>' are described at the start of the
document. You should realise that if you do not restrict the
areas that can be scanned with the '-m' list then all system
files will be checked, and all areas allowed by a caller's
priv level will be scanned. Setting the restriction can
considerably speed up the message scan. In Opus systems you
will have to hardcode this in either the menu ^OC command or
in the Outside declairation within the Opus control file.
YAMCHEK 1.10 2
YAMCHEK.EXE Release 1.10
In addition to setting snoop and time with the command
switches, Yamchek also allows local keyboard control of these
parameters. You can get a menu of available functions by
typing return at the local keyboard. You can turn snoop mode
o'N' or 'O'ff, raise or lower the time limit, 'C'hat with the
caller, or set up simultanious keyboards. You also have the ^X
option to kick a caller out of Yamchek, but not off the
system. You will need to type ^X again to kick a caller off
completely. The reason for not allowing total disconnect on
Yamchek is to avoid a reboot if automatic carrier detect is
enabled (watch dog).
Requirements
Yamchek currently requires X00 v.08a or greater for reliable
operation. Operation is not guaranteed for earlier releases or
for other FOSSIL drivers, especially Opus!Comm 5.2 or earlier.
USING OPUS!COMM IS A SURE WAY TO LOCK UP YOUR SYSTEM.
Yamchek has been written to work with Opus 1.03b. It should
work with earlier versions of Opus and with Fido v11w, but
there are no guarantees. There is also no guarantee that
Yamchek will work with Opus 1.10iii gamma.
Yamchek requires MS-DOS 3.0 or greater and any MS-DOS machine
that can support ANSI color sequences or can run a screen
device driver equivalent to ANSI.SYS.
Direct comments or questions to William Beebe at node 363/3
via matrix mail or in the Sysop 18 conference SYSOP18. You can
write me at 6125 Orange Cove Drive, Orlando FL, 32819.
Copyright 1988 William H. Beebe IV.
YAMCHEK 1.10 3
YAMCHEK.EXE Release 1.10
Revision History
0.0 Initial release. Tested on 363/1. Considerable
5/6 difficulty making fossil interface work at first. All
code ported from source developed on YABBS Shell.
0.1 First beta released to additional nodes, specifically
5/8 my NC (poor guy) at 363/3 and Pat Keller at 363/15.
0.3 This version fixed in a flaw in the mail scan routine.
5/9 It would not scan the very last message in the area.
Also added mail area restriction per Pat Keller's
suggestion and the snoop switch for my own and Pat's
use.
0.33 Finally fixed (I hope) a problem with how Yamchek
5/10 displays pages of a message in R)ead mode. It now works
so that the ansi sequences for positioning each
successive page will only be sent to the caller if ANSI
and MORE and FORMFEED are all enabled. Disabling any of
this forces the message to simply scroll up the page.
In addition, the variable ln_cnt is now counted up, not
down, and is modified in the Yamlib routines rawdisplay
and sendbyte. A test is made for '\n', and when true,
the line count is incremented. This results in a much
cleaner "More" prompt. Released to 363/3, 363/10, and
363/15
0.34 Cleaned up the listing so that only the date is shown
5/10 in line mode, cleaned up the placement of lines, and
added a simple "List" and "Read" tag when the mode is
selected.
0.35 Cleaned up a bug I missed in the switch parser. If the
5/11 mail area list is the only switch on the command line,
then there was no way to determine when all the parms
had been processed. The only test was for the next
switch prefixed with a '-'. It will now work correctly
with only '-m' on the command line and with any number
of message areas.
0.36 Worked on the user interface again. Changed the
5/11 greating to explicitly tell the caller they have 'X'
minutes in Yamchek. Made Yamchek respond send a 'Y' or
'N' to the caller on the check-your-mail question.
Added help to the list-or-read question so that callers
(hopefully) have a better idea what to do. Release to
363/3, 363/10, and 363/15.
0.40 Added code to drop DTR after an init if Yamchek
5/12 determines it is in local keyboard mode. Added an
additional feature, the ability to mark a message as
received during a list of mail waiting. Increased help
text as well.
YAMCHEK 1.10 4
YAMCHEK.EXE Release 1.10
0.41 Maintainance release. Cleaned up mis-spellings in the
5/13 help text and cleaned up a programming ommission in
that the default in Cleanup was Skip, not Mark.
0.50 Added question selection to ask caller if they want to
scan a particular mail area. This should make scanning
for new mail even faster, allowing callers to skip
areas in the allowable list that do not pertain to
them.
1.00 Official release. Added an additional prompt at end of
5/15 mail scan.
1.10 Fixed tick-timer code to work with X00 1.08a and
5/18 beyond.
YAMCHEK 1.10 5